package com.easystore.orm.utilities
{
import flash.errors.IllegalOperationError;
import flash.utils.getDefinitionByName;
import flash.utils.getQualifiedClassName;
	
public class InstanceUtil
{
	public function InstanceUtil(internalClass : Internal) {
		CheckUtil.checkNotNull(internalClass,"internalClass", "InstanceUtil.<constructor>" );
	}
	
	public static function getClass(instanceObject : Object) : Class {
		CheckUtil.checkNotNull(instanceObject,"instanceObject", "InstanceUtil.getClass" );
		return Class( getDefinitionByName( getQualifiedClassName( instanceObject ) ) );
	}
}
}
class Internal {}